package org.wuyichun.eduserver.service;

import org.wuyichun.base.util.PageInfo;
import org.wuyichun.eduserver.domain.Employee;
import org.wuyichun.eduserver.query.EmployeeQuery;

import java.io.Serializable;
import java.util.List;

public interface IEmployeeService {
    void insert(Employee employee);
    void delete(Serializable id);
    void update(Employee employee);
    Employee selectById(Serializable id);
    List<Employee> selectAll();
    Long queryTotal(EmployeeQuery employeeQuery);

    PageInfo<Employee> queryPage(EmployeeQuery employeeQuery);

    void batchDelete(List<Serializable> ids);
}
